
<include file="./Tpl/default/Index/header.html"/>

<css file="__PUBLIC__/index/css/index.css"/>
<css file="__PUBLIC__/index/css/complete.css"/>
<div class="user">
    <div class="left">
        <div class="uimg">
            <h5>{$user.uname}</h5>
            <p class="fens"><a hrefe="#">关注 0</a>&nbsp;<a hrefe="#">粉丝 0</a></p>
            <div class="img">
                <img src="{$user.thump}" width="100" height="100">
            </div>
            <div class="atten uatten">
                <if condition="$user.uid eq $_SESSION['uid']">
                    <a href="{:U('User/index/uid/'.$user['uid'])}">帐号设置</a> 
                    <else/>
                    <a href="#">关注</a>
                </if>
            </div>
        </div>
    </div>
    <div class="right">
        <div class="r_top">
            <p class="link">
                <span class="size sked"> {$user.num} 画板</span>
                <a href ="{:U('Complete/userimg/uid/'.$user['uid'])}" class="size caij">{$user.inum} 采集</a>
                <a href="{:U('Complete/good/uid/'.$user['uid'])}" class="size">{$user.gnum} 赞</a>
            </p>
        </div>
        <script>
            $(function(){
                $('.skedshow li').each(function(i,sh){
                    if(i>0&&i%4==3){
                        $(sh).css({'marginRight':0})
                    }
                })
            })
        </script>
        <ul class="skedshow">
            <volist name="sked" id="s">
                <li>
                    <div class="huabname">
                        <div class="huatop">
                            <span class="kname">{$s.name}</span>
                            <span class="knum">({$s.num})</span>
                        </div>
                        <a href="{:U('Complete/showhuab/kid/'.$s['kid'])}" class="smallimg">
                            <taglib name="blog"/>
                            <blog:showimg kid="$s['kid']">
                                <img src="{$field.adres}" width="60" height="60">
                            </blog:showimg>
                        </a>
                        <div class="atten">
                            <if condition="$s.pid eq $_SESSION['uid']">
                                <a href="{:U('Complete/geit/kid/'.$s['kid'])}">编辑</a> 
                                <elseif condition="$s.atten eq 0"/>
                                <a href="javascript:;" class="attention" name="{$s.kid}">关注</a>
                                <else/>
                                <a href="javascript:;" class="relatten"  name="{$s.kid}">已关注</a>
                            </if>
                        </div>
                    </div>
                </li>
            </volist>
        </ul>
    </div>
</div>
</body>

<html>